package models

import (
	"time"
)

type Address struct {
	Id int64 `xorm:"oid"`

	Firstname        string    `json:"FirstName" xorm:"VARCHAR"`
	Lastname         string    `json:"LastName" xorm:"VARCHAR"`
	Email            string    `json:"Email" xorm:"VARCHAR"`
	Company          string    `json:"Company" xorm:"VARCHAR"`
	Countryid        int       `json:"CountryId" xorm:"INTEGER"`
	Stateprovinceid  int       `json:"StateProvinceId" xorm:"INTEGER"`
	City             string    `json:"City" xorm:"VARCHAR"`
	Address1         string    `json:"Address1" xorm:"VARCHAR"`
	Address2         string    `json:"Address2" xorm:"VARCHAR"`
	Zippostalcode    string    `json:"ZipPostalCode" xorm:"VARCHAR"`
	Phonenumber      string    `json:"PhoneNumber" xorm:"VARCHAR"`
	Faxnumber        string    `json:"FaxNumber" xorm:"VARCHAR"`
	Customattributes string    `json:"CustomAttributes" xorm:"VARCHAR"`
	Createdonutc     time.Time `json:"CreatedOnUtc" xorm:"not null DATETIME"`
}
